<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page contentType="text/html;charset=UTF-8" %>

<%
    Date d = new Date();
    SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
    String now = df.format(d);
%>

<div id="header" class="wrap">
    <div id="logo"><img src="/images/logo.gif" /></div>
    <div class="help"><a href="/index">返回前台页面</a></div>
    <div class="navbar">
        <ul class="clearfix">
            <li><a href="/manage/index">首页</a></li>
            <li><a href="/user/list">用户</a></li>
            <li><a href="/product/list">商品</a></li>
            <li><a href="/order/list">订单</a></li>
            <li class="current"><a href="/comment/list">留言</a></li>
            <li><a href="/news/list">新闻</a></li>
        </ul>
    </div>
</div>
<div id="childNav">
    <div class="welcome wrap">
        管理员:${sessionScope.USER_IN_SESSION.userName}&ensp;您好，今天是<%=now%>，欢迎回到管理后台。
    </div>
</div>